<template>
  <view class="container">
    <view class="header u-f-ac u-f-jsb">
      <view class="cuIcon-back_android go_Back" @click="goBack"></view>
    </view>
    <view class="big_Img relative">
      <!-- 大背景图 -->
      <image src="../../static/37.png" mode=""></image>
      <!-- 顶部标题 -->
      <view class="poster_title u-f-ac">
        <view>
          <image src="../../static/24.png" mode=""></image>
        </view>
        <view>孟来控的教练号</view>
      </view>
      <view class="cuIcon-edit toggle_Bg"><text style="margin-left: 10rpx;">更换背景</text></view>
      <view class="bottom_content">
        <!-- 客户名字 -->
        <view class="poster_title2 u-f-ac">
          <view>
            <image src="../../static/24.png" mode=""></image>
          </view>
          <view>孟来控的教练号</view>
        </view>
        <!-- 内容1 -->
        <view class="u-f-ac u-f-jsb">
          <view class="beike">
            <view style="font-size: 50rpx;margin-bottom: 20rpx;">增肌课程 1/9</view>
            <view class="u-f-ac" style="font-size: 26rpx;">
              <view>
                <view>1209999</view>
                <view>6个动作</view>
              </view>
              <view class="course_move">2020-12-12 15：00</view>
            </view>
          </view>
          <view class="qiangdu">
            <view>强度</view>
            <view>5级</view>
          </view>
        </view>
        <!-- 内容二 -->
        <view class="flex_list u-f-ajc">
          <view class="u-f-ac u-f-jse flex_item">
            <view class="cuIcon-time" style="font-size: 50rpx;"></view>
            <view>
              <view style="font-size: 54rpx;">3</view>
              <view style="font-size: 34rpx;">min</view>
            </view>
          </view>
          <view class="u-f-ac u-f-jse flex_item">
            <view class="cuIcon-time" style="font-size: 50rpx;"></view>
            <view>
              <view style="font-size: 54rpx;">3</view>
              <view style="font-size: 34rpx;">min</view>
            </view>
          </view>
          <view class="u-f-ac u-f-jse flex_item">
            <view class="cuIcon-time" style="font-size: 50rpx;"></view>
            <view>
              <view style="font-size: 54rpx;">3</view>
              <view style="font-size: 34rpx;">min</view>
            </view>
          </view>
        </view>
        <view class="bottom_btn u-f-ajc">
          <view class="cuIcon-share">分享训练海报</view>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {

      };
    },
    methods: {
      goBack() {
        uni.navigateBack({
          delta: 1
        });
      }
    }
  }
</script>

<style lang="scss">
  page {
    background-color: #4B505F !important;
  }

  .container {
    padding: 0 30rpx;
  }

  .header {
    width: 100%;
    height: 140rpx;
    color: #FFFFFF;

    .go_Back {
      font-size: 60rpx;
      font-weight: 600;
    }
  }
  .toggle_Bg {
    border: 1px solid #fff;
    padding: 10rpx 20rpx;
    border-radius: 30rpx;
    color: #FFFFFF;
    position: absolute;
    right: 10rpx;
    top: 60rpx;
  }

  .big_Img {
    width: 100%;
    height: 87vh;
    padding: 40rpx;
    box-sizing: border-box;

    >image {
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
      right: 0;
      z-index: -1;
    }
  }

  .poster_title {
    width: 70%;
    height: 100rpx;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50rpx;
    padding: 30rpx;
    font-size: 36rpx;
    margin-bottom: 100rpx;

    >view:first-of-type {
      width: 60rpx;
      height: 60rpx;
      overflow: hidden;
      border-radius: 100%;
      margin-right: 20rpx;

      image {
        width: 100%;
        height: 100%;
      }
    }
  }

  .bottom_content {
    color: #FFFFFF;
    padding: 0 40rpx 30rpx;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .poster_title2 {
    width: 100%;
    height: 100rpx;
    margin-bottom: 10rpx;

    >view:first-of-type {
      width: 70rpx;
      height: 70rpx;
      overflow: hidden;
      border-radius: 100%;
      margin-right: 20rpx;

      image {
        width: 100%;
        height: 100%;
      }
    }
  }

  .poster_title2::before {
    content: '';
    display: inline-block;
    width: 10rpx;
    height: 70rpx;
    background-color: $uni-color-zhuti;
    margin-right: 20rpx;
  }

  .beike {
    flex: 1;

    .course_move {
      width: 55%;
      border-left: 1px solid;
      padding-left: 20rpx;
      margin-left: 20rpx;
    }
  }

  .qiangdu {
    font-size: 40rpx;
    width: 130rpx;
  }

  .flex_list {
    padding: 30rpx 0;
    border-bottom: 1px solid #999;
    margin-bottom: 80rpx;

    .flex_item {
      width: 33.3%;
      border-right: 1px solid #999;
    }

    >view:nth-of-type(3n) {
      border-right: none !important;
    }
  }

  .bottom_btn {
    width: 60%;
    height: 80rpx;
    margin: 0 auto;
    background-color: $uni-color-zhuti;
    font-size: 34rpx;
    border-radius: 50rpx;
  }
</style>
